package cn.xopencode.userservice.manager;

import cn.xopencode.userservice.rpc.user.dto.UserDTO;
import cn.xopencode.userservice.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class UserManager {

    @Autowired
    private UserService userService;


    public UserDTO getUser(String userId) {
        return userService.getUser(userId);
    }

}
